create

public static CodecToReplace create(String codecDefinition, String payloadNumber, Map<String, String> customProperties)

Factory method to create CodecToReplace instance.

Since

4.5.8

Parameters

codecDefinition

the codec that will be changed

payloadNumber

new payload number that will be assigned to the codec, as described in RFC5761 this should be chosen from the range 96-127

customProperties

properties of the codec that should be matched to original codec in order SDK to make the replace

Throws

when the payload number does not correspond to an integer value or not set in the range 96-127


public static CodecToReplace create(String codecDefinition, String payloadNumber)

Factory method to create CodecToReplace instance.

Since

4.5.8

Parameters

codecDefinition

the codec that will be changed

payloadNumber

new payload number that will be assigned to the codec, as described in RFC5761 this should be chosen from the range 96-127

Throws

when the payload number does not correspond to an integer value or not set in the range 96-127